package com.example.demo.entity.vo;

import com.example.demo.entity.ArticleInfo;
import com.example.demo.entity.UserEntity;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: DELL
 * Date: 2023-05-28
 * Time: 8:07
 */

@Data
public class ArticleInfoVO extends ArticleInfo {
    // 建立在文章表的基础上扩展了 username 属性
    private String username;

    @Override
    public String toString() {
        return "ArticleInfoVO{" +
                "username='" + username + '\'' +
                "} " + super.toString();
    }
}
